package kr.co.insoft.core.service.configration.sev.impl;

import java.util.Comparator;

import kr.co.insoft.core.model.configration.sev.SEVMetadataEntityModel;
/**
 * 등록된 순서로 정렬
 * 
 * @author IN-SOFT Inc. GoodwillDD(sylee@in-soft.co.kr)
 *
 */
public class SEVMetadataComparator implements
		Comparator<SEVMetadataEntityModel> {

	@Override
	public int compare(SEVMetadataEntityModel o1, SEVMetadataEntityModel o2) {
		return Integer.parseInt(o1.getSeq()) - Integer.parseInt(o2.getSeq());
	}

}
